<script setup>
import useCounter from "@/components/08_composition_api_use";

let { count , doubleCount} = useCounter(123);

setTimeout(()=>{
  count.value +=1;
},2000)

</script>

<template>
  <div>
    <h2>08_composition_api_use.vue</h2>
    {{ count }},{{doubleCount}}
  </div>
</template>

<style lang="scss" scoped>

</style>